package com.cams.backend.service;

import com.cams.backend.common.lang.Result;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cams.backend.entity.Leaves;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cams
 * @since 2022-05-18
 */
public interface LeavesService extends IService<Leaves> {

    Result apply(Leaves leave);

    Result approve(Leaves leaves);

    Result leaveCheckAll();

    Result leaveCheckByUid(int uid);

    Result deleteLeaveByLid(int lid);
}
